import request from '@/utils/request'
export default {

    // 查询所有讲师分页数据
    queryAllTeacherPage(current, limit) {
        return request({
            url: `/eduservice/teacherfront/queryAllTeacherPage/${current}/${limit}`,
            method: 'post'
        })
    },

    // 根据讲师id查询讲师基本信息和所讲的课程
    queryTeacherAndCourseByTeacherId(id) {
        return request({
            url: `/eduservice/teacherfront/queryTeacherAndCourseByTeacherId/${id}`,
            method: 'get'
        })
    }
}